<template>
  <div class="system-user-container common-container">
    <div class="system-user-content">
      <UserSide
        @sendToDept="sendToDept"
      />
      <UserTableSide
        :deptName="deptName"
      />
    </div>
  </div>
</template>

<script>
import UserSide from './components/userSide'
import UserTableSide from './components/userTableSide'
export default {
  name: 'index',
  components:{
    UserSide,
    UserTableSide,
  },
  data(){
    return{
      deptName: '',
    }
  },
  methods:{
    sendToDept(val){
      this.deptName = val
    },
  }
}
</script>

<style lang="scss" scoped>
.system-user-content{
  border: 1px solid #c3cfd7;
  width: 100%;
  height: 100%;
  display: flex;
}
</style>
